package com.example.text.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.text.entity.AdminPermission;
import com.example.text.entity.AdminRolePermission;

import java.util.List;

/**
 * 规则与许可关联表
 *
 * @author hjj
 * @email 1041914134@qq.com
 * @date 2020-06-23 16:02:15
 */
public interface AdminRolePermissionService extends IService<AdminRolePermission> {

  List<AdminRolePermission> findAllByRid(int rid);

  void savePermChanges(int rid, List<AdminPermission> perms);
}
